package com.medicine.product.study.strategy;

/**
 * @author lynn
 * @version 1.0
 * @date 2022/2/15
 */
public class Context {
    private Strategy strategy;
    public Strategy getStrategy() {
        return strategy;
    }
    public void setStrategy(Strategy strategy) {
        this.strategy = strategy;
    }
    public void strategyMethod() {
        strategy.strategyMethod();
    }
}
